package iface;

import java.net.InetSocketAddress;

/**
 * Stores network constants to access server
 * 
 * @author Jeff
 * 
 */
public class NetworkConstants {

    public static String SERVER_ADDRESS = "ec2-50-17-75-48.compute-1.amazonaws.com";
    public static int SERVER_PORT = 12345;
    public static int RECV_BUFFER_SIZE = 2048;
    public static int DEFAULT_RECV_TIMEOUT = 5000; // milliseconds
    public static final InetSocketAddress SERVER_SOCKET = new InetSocketAddress(
            SERVER_ADDRESS, SERVER_PORT);
    public static final long REMOVE_STALE_CACHED_USER = (long) 30; // seconds
}
